<?php

/* @var $this yii\web\View */
/* @var $form yii\bootstrap\ActiveForm */
/* @var $model \common\models\LoginForm */

//use Yii;
use yii\helpers\Html;
//use yii\helpers\Url;
use yii\bootstrap\ActiveForm;
use frontend\controllers\ListController;
use common\models\setting\Setting;
use common\models\Ad\Ad;
//版权信息
$copyright = '';
try
{
    $copyright = Setting::findOne(['code'=>'copyright'])->value;
}
catch(ErrorException $e)
{

}
//网站名称
$name = '';
try
{
    $name = Setting::findOne(['code'=>'siteName'])->value;
}
catch(ErrorException $e)
{

}
//邮箱
$email = '';
try
{
    $email = Setting::findOne(['code'=>'email'])->value;
}
catch(ErrorException $e)
{

}
//备案
$beian = '';
try
{
    $beian = Setting::findOne(['code'=>'beian'])->value;
}
catch(ErrorException $e)
{

}
//微信logo
$wbimg = '';
try { $wbimg = Setting::findOne(['code'=>'wb_chat'])->value;}
catch(ErrorException $e){ }

?>
<!--footer-->
<div class="footer">
    <div class="footerw m-l-30 m-r-30">
        <div class="clearFloat">
            <div class="fleft floatLeft">
                <img src="<?= Yii::$app->params['ueditor'] ?>/upload/<?= $wbimg;?>" alt="" class="vertical-align">
            </div>
            <div class="fright floatRight">
                <p><?=$copyright;?></p>
                <p>Email:<?=$email;?></p>
            </div>
        </div>

    </div>
</div>
<!--footer end-->

</div>
<!--wapper end-->